// config/routes.ts

export const manus = [
  {
    path: '/mp',
    name: 'Deploy管理',
    component: '@/pages/deploy',
  },
  {
    path: '/mp/svc',
    name: 'Service管理',
    component: '@/pages/svc',
  },
  {
    path: '/mp/cm',
    name: 'ConfigMap管理',
    component: '@/pages/cm',
  },
  {
    path: '/mp/test',
    name: 'test',
    component: '@/pages/deploy/components/xterm',
  },
];

export default [
  {
    path: '/',
    name: '登录页面',
    component: '@/pages/index',
  },
  {
    path: '/mp',
    component: '@/layouts/index',
    routes: manus,
  },
  {
    path: '/pod',
    name: 'pod',
    component: '@/pages/deploy/components/xterm',
  },
];
